const http=require('http');
const port=8080;

const server=http.createServer((req,res)=>{
    res.end("HEllo,node js!");
});

server.listen(port,()=>{
    console.log("Server listening on:http://localhost:%s",port);
});